Raised This Month: $51 Target: $400
 12% 

Scripting Tutorial


Post New Thread Reply   
 
Thread Tools Display Modes
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-15-2004 , 02:39  
Reply With Quote #21

Quote:
Originally Posted by Scarzzurs
Quote:
Originally Posted by Janzert
Every language that I know of, that will allow you to use integers as boolean truth values, defines 0 as false and "not 0" as true. Please don't buck that convention. It'll really confuse anyone coming from a different programming language. Not to mention all the existing small code that it has the potential to break.

Janzert
hmmm, i still like it the other way.... seems more logical....

furthermore i have to rewrite it all now

Scarzzurs
It could be useful if it worked that way in a language like Small, and everyone knew about it. However changing conventions (not that small changed them from version to version anyway :-( ) is a bad idea, so I guess we end that here.
Johnny got his gun is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 03-15-2004 , 19:51  
Reply With Quote #22

well thats small scripting for you.
QwertyAccess is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-15-2004 , 23:13   Lol
Reply With Quote #23

Quote:
Originally Posted by QwertyAccess
well thats small scripting for you.
Learning Small Scripting is becoming fun..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-16-2004 , 10:32  
Reply With Quote #24

Quote:
Originally Posted by ThorW634
my bad my bad, i have never been good at spelling. here we go --Scarzzurs
Np... getting used to it

Scarzzurs
Scarzzurs is offline
Send a message via MSN to Scarzzurs
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-18-2004 , 11:27  
Reply With Quote #25

Updated

Scarzzurs
Scarzzurs is offline
Send a message via MSN to Scarzzurs
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-21-2004 , 14:01  
Reply With Quote #26

Doesn't this derserve a sticky? :-(

Scarzzurs
Scarzzurs is offline
Send a message via MSN to Scarzzurs
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 03-21-2004 , 14:59  
Reply With Quote #27

Good job Scarzzurs , this cleared up some questions I had. Thanks alot.
Peli is offline
Send a message via MSN to Peli
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-21-2004 , 15:13  
Reply With Quote #28

Hehe, good

Scarzzurs
Scarzzurs is offline
Send a message via MSN to Scarzzurs
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 03-21-2004 , 16:07  
Reply With Quote #29

I've been telling people that -1 returned true for months now, but do they ever belive me? NO! Well guess what!

Anyhow
Code:
// defines the integer named AnInteger. Integer means a non floating number like 1 2 -10 and 103. new AnInteger // defines the float named AFloat. Float means that the number can float between 2 integers. // fx.: 1.24325 0.43352 and -2034.23153 new Float:AFloat
The number doesn't float, the point does
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-21-2004 , 16:23  
Reply With Quote #30

like i care!

J/K

Scarzzurs
Scarzzurs is offline
Send a message via MSN to Scarzzurs
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode