Groups
Groups
Sign in
Groups
Groups
Atalan Programming Langugage
Conversations
About
Send feedback
Help
bool variable
1 view
Skip to first unread message
Patrik Tkáč
unread,
Dec 2, 2010, 8:16:35 AM
12/2/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to atala...@googlegroups.com
Hello
What about add bolean variables in language?
It will be easier to evaluate conditions etc. We will have more strict definition of language and the language could become stronger typed language.
patarik
rudla
unread,
Dec 2, 2010, 2:29:24 PM
12/2/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Atalan Programming Langugage
Boolean variables are planned.
Idea is as follows:
Any type, that will have associated constants named 'true' and/or
'false' can be tested as bool (in fact only one of them is sufficient
for testing).
Typical example would be key enumerator.
key:enum
A = 63
B = 21
C = 18
'*' = 7
....
HELP = 17
none = 255
We will add false either directly to enum or using
false:key = 255
From now, it is possible to test like this:
if not key then "X"
until key
etc.
Rudla
Patrik Tkáč
unread,
Dec 2, 2010, 2:59:27 PM
12/2/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to atala...@googlegroups.com
Interesting idea.
patarik
rudla
unread,
Dec 4, 2010, 2:22:54 PM
12/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Atalan Programming Langugage
Bools are now implemented in conditions (it is not yet possible to use
and, or etc. in assignment).
Rudla
Reply all
Reply to author
Forward
0 new messages