Latest Uploads
Invasion V ... tup screen

rychan

image-07-1 ... -20-59.jpg

Jayenkai

PixeLink - ... oween 2014

rockford

PixeLink P ... zle Editor

rockford

PixeLink

rockford

image-21-0 ... -21-29.jpg

Jayenkai

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
NerdBlock
rockford Fri 11:39
Making An Advent Calendar Collection
Jayenkai Fri 08:42
Image recognition
steve_ancell Fri 05:28
Ffffffffreeeeezinnggg ffffffeck!
steve_ancell Fri 03:58
RIP : Jimmy Ruffin
rockford Thu 08:20
Wwelcome Zzoom
rockford Thu 08:19
Saying Sorry
rockford Wed 16:01
Still using Blitz
Afr0 Wed 03:11
Insomnia
zzoom Tue 05:58
File Error
zzoom Tue 05:34
More

Latest Items
Life : Health Update
rockford Thu 12:41
Dev-Diary : Scaling Back
rychan Thu 03:55
Blog : Powerball Hack
steve_ancell Tue 18:47
Showcase : GPS Fun Runner 3D
zzoom Tue 06:03
Hols : Advent Calendars
rychan Wed 04:56
Life : MIA until better
Jayenkai Mon 07:03
News : Newsletter #241
steve_ancell Thu 20:46
Snippet : Monkey Framework - HTML Layout
steve_ancell Thu 08:35
Woot : Update on hand issues
rychan Fri 10:00
News : Newsletter #240
steve_ancell Fri 05:29
Techy : My Newest Toys
Jayenkai Sun 04:16
News : Newsletter #239
Jayenkai Sat 05:34
Showcase : Preppie!
Jayenkai Fri 13:00
Rant : : I Stubbed My Toe...
steve_ancell Tue 09:47
:
Wed 17:00
More

Who's Online
Kuron
Fri, at 11:41
rockford
Fri, at 11:39
Jayenkai
Fri, at 11:29
HoboBen
Fri, at 10:44
steve_ancell
Fri, at 10:40
shroom_monk
Fri, at 10:20
rychan
Fri, at 08:29
Krakatomato
Fri, at 05:28
Afr0
Fri, at 05:01
zzoom
Fri, at 02:35
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.