Search found 4 matches

by Berry Jansen
Wed Oct 12, 2005 11:22 am
Forum: General
Topic: lua scriping, working with booleans
Replies: 3
Views: 10916

I think this is correct in most of the cases.
However, if I use the following code the object b can be used like it works in the C-language:

local int b = 0
if (b) then
print "b = false\n"
else
print "b = true\n"
end
b=1
if (b) then
print "b = false\n"
else
print "b = true\n"
end
b=2
if (b ...
by Berry Jansen
Tue Oct 11, 2005 3:10 pm
Forum: General
Topic: lua scriping, working with booleans
Replies: 3
Views: 10916

Thanks Jussi, for your response.

However, I've found out that if I use:
if (b == 1) then
instead of
if (b) then
it seems to be working in zeus 3.80

Regards,
Berry
by Berry Jansen
Mon Sep 26, 2005 7:29 am
Forum: Tutorials, Tips and Tricks
Topic: Tab-key For Cobol Users
Replies: 2
Views: 14636

You might be right about that, but on Zeus V3.80 there is no diference between the get_text_at() and get_char_at() functions :( . So sometimes I mix them up.
I've changed it and I'll keep it in mind for the next time, thanks. (I wish there was a fix for this).
by Berry Jansen
Fri Sep 23, 2005 12:24 pm
Forum: Tutorials, Tips and Tricks
Topic: Tab-key For Cobol Users
Replies: 2
Views: 14636

Tab-key For Cobol Users

This marco adds special features when using the tab-key for cobol users.
Of coarse you can makes changes for your own language.

Tabs will be inserted as spaces.
1st tab stop at position 8
2nd tab stop at postions 12
After position 12 it will look at lines above where the next word will begin. If no ...