Riddle me this.
If I create two strings in VBA (Visual Basic for Applications) like so
Dim string1 As String
Dim string2 As String
When I turn a watch on for them, both variables are listed as type “String.” If I were to use the following code though, which I understand to be the exact same thing just with different sytnax,
Dim string1, string2 As String
string1 will be listed as type “Variant/Empty” but string2 will still be listed as type “String.”
I’m using Excel 2007 is that makes a difference. Can anyone please explain to me what on earth is going on here?
Image courtesy of Place Kitten
This took me a while to figure out but for some annoying reason if you want to use the GLib.math library with Vala you’ll have to add the
-lm option to your GCC compile flags. If you happen to be using the Waf build system you can add it to your
wscript file like so:
bld.env.append_value('CFLAGS', ['-O2', '-g'])
bld.env.append_value('LINKFLAGS', ['-O2', '-g', '-lm'])
bld.env.append_value('VALAFLAGS', ['-g', '--enable-checking', '--fatal-warnings'])
The vim files for the Falcon programming language have been accepted into the official Vim repository. The next release of Vim should include the updates.
By the way, if you’re using GetLatestVimScripts, while the falcon scripts do have the line there to make them compatible I have not updated the Vim site so that’s either not going to work for you or it’s going to update to an old version. Why is this? Because I forgot my password and I have not gone through the trouble to get it reset.
See the latest change to falcon here.