Latest Uploads
Dungeon Ga ... n Progress

rychan

image-17-0 ... -18-36.jpg

Jayenkai

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

Jayenkai

Kuron Cap Get!

rychan

Merry Christmas

Jayenkai

Invasion V ... tup screen

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|
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Spinal's SNES Controller
tuum Thu 00:16
Car MOTs
steve_ancell Wed 22:20
Great Big Youtube thread
Jayenkai Wed 16:56
InDev : SpikeDislike3
Jayenkai Wed 11:43
Musical Tastes
GfK Wed 03:45
The 4G Mobile Data Issue
Jayenkai Wed 03:33
Jayenkai's Daily Blog! Attempt #3923
Jayenkai Wed 02:29
Monitor ''Hz''
Jayenkai Wed 02:10
Artistic Payments
rychan Tue 15:27
Moon Pics
therevillsgames Tue 14:59
More

Latest Items
Blog : tuum
steve_ancell Thu 00:25
Blog : Back on the run
rychan Tue 13:23
Dev-Diary : Helichopper stuffs
GfK Thu 09:13
Showcase : Crime (reloaded)
rockford Wed 07:30
Showcase : Blockman Forever
Steve Elliott Sun 12:42
Snippet : Lotto Number
Jayenkai Thu 15:14
Showcase : Invisible Munky 2
Jayenkai Thu 04:52
Blog : New Fence..
steve_ancell Wed 11:28
Snippet : Rotating Sphere
Dabz Sun 19:36
Woot : Three Years Later...
Kuron Fri 07:05
Snippet : IFS Fractal Viewer
Andy_A Mon 14:20
Showcase : Millenipede
Steve Elliott Mon 17:44
Snippet : Simple stack-based interpreter
tbohon Wed 12:08
:
Wed 17:00
:
Wed 17:00
More

Who's Online
rychan
Thu, at 00:40
Jayenkai
Thu, at 00:35
steve_ancell
Thu, at 00:27
tuum
Thu, at 00:16
Afr0
Wed, at 23:16
spinal
Wed, at 22:50
9572AD
Wed, at 22:29
rockford
Wed, at 21:44
Pakz
Wed, at 19:49
therevillsgames
Wed, at 16:20
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.