0 Members and 1 Guest are viewing this topic.
alright so i've been thinking a lot about the data types involved in this, and i think there shouldn't be too many as to confuse the casual programmer, but enough so an advanced programmer can save a lot of memory. thus, here are my suggestions for data types dealing with numbers only, excluding strings or data structures (lists/matrices/arrays) for now:-Byte holds values -128 to 127, integers only-2Byte holds values -32768 to 32767, integers only.-4Byte Word holds values... really big. like -2 billion to 2 billion.-16.16 fixed point values -32768.32768 to 32767.32767 -the unsigned versions of the above numbers-The OS Float, however the OS stores floating point, that's this data type. no unsigned version.also, maybe have a menu where you can turn on and off advanced features, such as specifying what data type a variable should be. suggestions? also, adding in the array functions, multiple keypresses and foreign characters suggestions to the first post.
"FooBar->myvarl0,1,2,3,4->myVarDisp "I Say : myvar : myVar
Disp "M says : ": : "Hello
/\i like(although i dont really see the purpose of word storage other than os calculations...)a menu sounds nice, too(all number dealings are floating point by default for nubs, but can be set to the others to increase calculation speed)
edit in my example code it is seemingly impossible to include the ":" token in a string, this exmaple below however does so:Code: [Select]Disp "M says : ": : "Hellowhich combines the strings "M says", ":" and "Hello".maybe "&" is better after all...
Server load over the past 5, 10 and 15 minutes respectively: 0.16, 0.14, 0.14
Page created in 0.701 seconds with 61 queries.