Forum Topic: As: Checking { [ ( With As

(1,387 views • 6 replies)

This topic is 1 page long.

<< < > >>
None

Joelasticot

Reply To Post Reply & Quote

Posted at: 6/28/05 02:34 PM

Joelasticot EVIL LEVEL 37

Sign-Up: 02/14/03

Posts: 867

Note : This tutorial is from Inglor. He reached the max (4) new topics limit per day so he asked me to post this for him. Here we go :

AS: Main

Are you trying to parse your own scripting language? having an hard time with the {'s and with the ['s

with a stack all this can be solved

you don't have to write your own stack,flash arrays have built in push and pop action, just watch the movie, and process the code string with the array ;)

post any questions

The movie

I know this isn't explaining things to the end, that's why I'm replying to questions

- Inglor

var s=0;var p=0;addEventListener("enterFrame", function(){
s+=(25-p)/20;p+=Math.ceil(s);var o="";
for(var i=0;i<p;i++){o+=" ";};trace(o+"joelasticot");})

BBS Signature

None

Inglor

Reply To Post Reply & Quote

Posted at: 6/28/05 02:35 PM

Inglor NEUTRAL LEVEL 17

Sign-Up: 01/26/03

Posts: 10,948

thanks man,

like I said, feel free to ask question everybody


None

Denvish

Reply To Post Reply & Quote

Posted at: 6/28/05 02:40 PM

Denvish DARK LEVEL 46

Sign-Up: 04/25/03

Posts: 16,236

I think my brain is fried from reading too many AS: threads, but have absolutely no idea what that does.

- - Flash - Music - Images - -

BBS Signature

None

Inglor

Reply To Post Reply & Quote

Posted at: 6/28/05 02:45 PM

Inglor NEUTRAL LEVEL 17

Sign-Up: 01/26/03

Posts: 10,948

let's say you have the following code

on(release){
trace("hello");
}

flash parses it somehow right? it checks it's syntax first, assuming at one point you'll want to make your own sub-scripting language for more complex tasks in AS, this is how you check syntax


None

Rammer

Reply To Post Reply & Quote

Posted at: 10/12/05 05:59 PM

Rammer DARK LEVEL 32

Sign-Up: 06/08/03

Posts: 4,331

ok, um, this is probably the least helpful AS thread ive seen...

instead of just waiting for questions, shouldnt you post the AS to make that, and then answer any questions about it?

because i would like to know how to make a programming language within flash, like interactive buddy, but maybe not so powerful. \:

snyggys


None

liaaaam

Reply To Post Reply & Quote

Posted at: 1/6/06 02:14 PM

liaaaam NEUTRAL LEVEL 22

Sign-Up: 12/11/04

Posts: 14,536

I just checked this again and realised there is nothing here, it's like me making a topic about how to make your own programming language and just saying "You make it!". You didn't teach anything, the only real thing was about using an array to check for validation but that's it.

Kinda pointless, there wasn't even any AS in here - just a tiny bit of theory.


None

authorblues

Reply To Post Reply & Quote

Posted at: 1/6/06 02:20 PM

authorblues FAB LEVEL 12

Sign-Up: 06/21/05

Posts: 6,360

At 1/6/06 02:14 PM, -liam- wrote: Kinda pointless, there wasn't even any AS in here - just a tiny bit of theory.

lol, i like the "you make it" reference. kudos for bumping the only AS thread that i think doesnt belong on the AS: MAIN list. i do think this is useful for ONE thing, and thats for making a mathematical function parser. gives a good insight of how to check for parenthetical delimiters.

GENERATION 1-i: The first time you see this, copy it into your sig on any forum. Square it, and then add i to the generation.

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 12:55 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!