Latest Uploads
image-21-0 ... -21-29.jpg

Jayenkai

image-15-0 ... -19-40.jpg

Jayenkai

image-15-0 ... -20-07.jpg

Jayenkai

Bumble Bee

dna

Tires

dna

Guess The Remake

rychan

Forum Home

blitzcc.exe

UserMessage
Posted : Wednesday, 24 November 2010, 00:56 | Permalink
Tikihead


WW Entries : 7
Does anyone else occasionally have trouble with Blitz compiling or stepping through a program? Lately it's been treating these two pieces of code differently and just completely janking up the first (preferable) one:

(Pop() returns an integer)

Worked fine up until today
-->

Works, but not preferable
-->

|edit| I haven't been on here much lately; nice site improvements Jay |edit|
Posted : Wednesday, 24 November 2010, 01:16 | Permalink | Mark Here
JL235


WW Entries : 7
One thing I noticed with BB is that it uses a very odd order for evaluating parameters. Most languages evaluate parameters either right to left or left to right.

I can't remember the exact order but with BB it's done right to left but will skip some of them and then jump back to evaluate them later. It doesn't call them all in order.

My overall point is that you should never expect the parameters to always be evaluated in a specific order! (This is also true to all programming langauges, not just BB).

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Wednesday, 24 November 2010, 09:14 | Permalink | Mark Here
Scherererer


There are some languages (like Haskell) that don't even evaluate the parameters until they're needed in the function call!

-----
YouTube Twitter
Computer Science Series: Logic (pt1) (part 2) (part 3) 2's Complement Mathematics: Basic Differential Calculus
Homepage : www.google.com/profiles/Scherererer
Posted : Wednesday, 24 November 2010, 09:59 | Permalink | Mark Here
Jayenkai


WW Entries : 103
Does..
color int(pop()),int(pop()),int(pop())
.. make a difference?

-----
"Load, Next List!"
Homepage : http://AGameAWeek.com
Posted : Wednesday, 24 November 2010, 10:28 | Permalink | Mark Here
Tikihead


WW Entries : 7
...will skip some of them and then jump back to evaluate them later.

That's exactly what's been happening, thanks for the solution DD. I guess I've either never noticed this problem until now or I've just been lucky.

@Jay - Nope, that doesn't help.
Posted : Wednesday, 24 November 2010, 18:02 | Permalink | Mark Here
Tikihead


WW Entries : 7
Now I think something is actually wrong - a file compiled and run immediately runs the code below fine, but a file compiled to an exe and run by itself gives an error.

-->
Posted : Wednesday, 24 November 2010, 18:03 | Permalink | Mark Here
Jayenkai


WW Entries : 103
Hmm.. sounds a wee bit screwy. What's your version?

-----
"Load, Next List!"
Homepage : http://AGameAWeek.com
Posted : Wednesday, 24 November 2010, 18:06 | Permalink | Mark Here
Tikihead


WW Entries : 7
1.100 - this just started happening yesterday, which I think is rather odd.

|edit| I figured out that there must be something wrong with my operating system that somehow translates to not being able to allocate memory for my program to run.

My program takes info from the command line (it needs a file to open to start) and depending on how I give the file to it (drag file onto the exe or right-click on file and choose "open with"), it will draw the image or it'll spit out an error. |edit|
Latest Posts
Pebble Watch Clocks
spinal Mon 01:23
NerdBlock
rockford Sun 12:06
Temporary Fix : iOS8 Image Uploading
Jayenkai Sun 06:44
Movies : Pride
Jayenkai Sat 07:29
WaterFox
steve_ancell Sat 07:25
Batch Recolouring Images
rockford Sat 05:43
Static Molly
steve_ancell Fri 11:25
Microsoft : Where good coders go for a nap
Jayenkai Fri 05:21
Awful Site Design
Jayenkai Fri 01:44
AGameAWeek iOS Bundle
rychan Thu 08:46
More

Latest Items
Blog : Bedroom 2.0
Jayenkai Fri 06:01
Blog : 20 Years Ago....
steve_ancell Mon 15:28
Life : Back Online
Kuron Tue 11:48
Showcase : Munky Blocks DX
Jayenkai Mon 07:06
Showcase : Little Nemo's Nightmare
Jayenkai Sat 04:14
News : Newsletter #234
rychan Fri 08:02
Showcase : Space Rocket Adventurers
HoboBen Thu 16:56
Blog : Health Update : August 2014
Jayenkai Sat 11:31
Techy : Back from Game Dev Con!
Jayenkai Sun 16:52
Family : Sunday
Jayenkai Wed 03:31
Family : Good News (for once)
Kuron Tue 15:37
Showcase : Don't Tap The Zombies
therevillsgames Mon 16:26
Showcase : Mutant Monty
steve_ancell Wed 19:26
Techy : New Laptop!?
Kuron Fri 15:52
Showcase : Ascension 2 Live Wallpaper
CodersRule Fri 13:48
More

Who's Online
steve_ancell
Mon, at 04:06
rockford
Mon, at 03:23
shroom_monk
Mon, at 02:29
spinal
Mon, at 02:24
Krakatomato
Mon, at 02:19
Afr0
Sun, at 23:45
Kuron
Sun, at 23:01
dna
Sun, at 20:53
Jayenkai
Sun, at 19:11
HoboBen
Sun, at 15:14
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.