User talk:Lukas Kreator: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Created page with "Hi Lukas, thanks for adding some material to the BSL Operators and Data pages. As you might imagine, we eventually want to document those areas a bit more thoroughly. That is, we...")
 
(just to reiterate, in case you didn't see it on my talk page)
Line 1: Line 1:
==Operators==
Hi Lukas, thanks for adding some material to the BSL Operators and Data pages. As you might imagine, we eventually want to document those areas a bit more thoroughly. That is, we all know what 'int' means, but what happens when a variable declared as int has a float added to it? Does it simply truncate the digits behind the decimal point of the float when adding? And what if a bool is set to 3 and then its value is read? Will it be 1? Just some suggestions if you want to explore those interactions at some point and document them. Finally, you missed a few operators such as '<=', and the alternate symbol '=' for 'eq'. Please see the table at the bottom of the main BSL page for the complete list. Thanks. --[[User:Iritscen|Iritscen]] 17:57, 13 February 2012 (CET)
Hi Lukas, thanks for adding some material to the BSL Operators and Data pages. As you might imagine, we eventually want to document those areas a bit more thoroughly. That is, we all know what 'int' means, but what happens when a variable declared as int has a float added to it? Does it simply truncate the digits behind the decimal point of the float when adding? And what if a bool is set to 3 and then its value is read? Will it be 1? Just some suggestions if you want to explore those interactions at some point and document them. Finally, you missed a few operators such as '<=', and the alternate symbol '=' for 'eq'. Please see the table at the bottom of the main BSL page for the complete list. Thanks. --[[User:Iritscen|Iritscen]] 17:57, 13 February 2012 (CET)
To correct what I said above, in response to your question on my talk page last month, '=' is indeed the assignment operator and 'eq' is a relational operator. Sorry for the confusion. --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 21:02, 17 December 2012 (CET)

Revision as of 20:02, 17 December 2012

Operators

Hi Lukas, thanks for adding some material to the BSL Operators and Data pages. As you might imagine, we eventually want to document those areas a bit more thoroughly. That is, we all know what 'int' means, but what happens when a variable declared as int has a float added to it? Does it simply truncate the digits behind the decimal point of the float when adding? And what if a bool is set to 3 and then its value is read? Will it be 1? Just some suggestions if you want to explore those interactions at some point and document them. Finally, you missed a few operators such as '<=', and the alternate symbol '=' for 'eq'. Please see the table at the bottom of the main BSL page for the complete list. Thanks. --Iritscen 17:57, 13 February 2012 (CET)

To correct what I said above, in response to your question on my talk page last month, '=' is indeed the assignment operator and 'eq' is a relational operator. Sorry for the confusion. --Iritscen (talk) 21:02, 17 December 2012 (CET)