Page 3 of 3

Posted: Mon Oct 13, 2003 2:53 pm
by auth
flashg: i was intending to help you, not put you down :)

plazmic: i wish i owned an as/400.. though i do use one at school where i am taking advanced rpg. the freeform is now released, yes, you can start it with the /free tag. variables may have finally changed to case sensitive, but i dont think the syntax is sensitive. i always keep the caps lock on at school for readability purposes when the printer prints out the information, i guess if cobol is mandatory all uppercase it would be considered case sensitive, though you never have the problem of switching back and forth which seems to be confusing some of the end users. btw, rpg is the pwn for quick reports, cobol takes ten times more lines and is harder to read and learn, yet many businesses stick with the cobol age due to their respect for the knowledge of learning such a cryptic language. if you think macroquest is cryptic, check out some cobol :). the change is good, it will just take time to get used to, and the really old veterans will learn to live with it, but will probably never like it as much as the original. C is a good language to learn, it's just not as popular in major corporations as most people think... the reason businesses stick with cobol and rpg is because it's quicker to write than most c programs (in my limited experience)... as my advisor says (and i tend to agree): cobol is very cryptic, but what you learn besides the language syntax is what is very important. Besides, it's very marketable...

in_training: i didn't mean to jump down your throat so hard, but it just seemed like the right thing to do after a 16 hour shift at work (who wouldn't be jumpy in the retail business...)

oh yea, rpg is fixing to go through a major overhaul i hear... Rumors are ibm is going to make it object oriented in time, as well as try to speed up the java language (which is very slow atm, but corps have spent millions just trying to get it started during the HUGE hype in the late 90s). I really think that 4GL is going to come around sooner or later as high speed internet becomes more and more available and web code is getting harsher and harsher. I bet that one day a programmer will not even know what a function is. It will be just point and click (i will hate computers more than my grandparents that day). I have no respect for the easy programming, i just don't feel like it's an art after you can't see the code...

Posted: Tue Oct 14, 2003 6:06 am
by motd2k
Side note, I have 2 AS/400 as end tables on my game room... They rank up the with the pacman head-2-head table arcade game for conversation pieces.
Your games room sounds the same size as my house. Swap you. Lovely 2 bed on the Costa-del-England (Blackpool).

Anyways, some interesting replies - i'm about 50% through converting my macros, yes it's still bugging me - but the parser speed improvements have nearly made up for it :-p


MOTD

Posted: Tue Oct 14, 2003 9:13 am
by Mckorr
My wife makes me put all the antique computers in the closet... though I've threatened to attach all the old circuit and mother boards to the wall as "art".

Do have an old, freestanding Spiderman arcade game in the boy's room that got given to us. He never plays it, but unfortunately my computer room is too small to hold it.

And having a fair idea of what a 2 bedroom in Blackpool is worth, I'll trade ya :)

Posted: Tue Oct 14, 2003 10:59 am
by motd2k
Okay, okay - i give in... perhaps is just better afterall. I am, however, the laziest mofo on the planet... so here is my cheapass way that i converted my 'larger' macro (i make HUGE use of vars and it was taking forever to weed out ones i forgot to declare... so i just declared them all... gotta love concatenate in Excel)

Anyway, i know how bad form this is, but it saves tons of time, just paste this into Sub Main, and find|replace $v with @v $t with @t (be carful of $target here) and $p with @Param

Code: Select all

/declare v1 global
/declare v2 global
/declare v3 global
/declare v4 global
/declare v5 global
/declare v6 global
/declare v7 global
/declare v8 global
/declare v9 global
/declare v10 global
/declare v11 global
/declare v12 global
/declare v13 global
/declare v14 global
/declare v15 global
/declare v16 global
/declare v17 global
/declare v18 global
/declare v19 global
/declare v20 global
/declare v21 global
/declare v22 global
/declare v23 global
/declare v24 global
/declare v25 global
/declare v26 global
/declare v27 global
/declare v28 global
/declare v29 global
/declare v30 global
/declare v31 global
/declare v32 global
/declare v33 global
/declare v34 global
/declare v35 global
/declare v36 global
/declare v37 global
/declare v38 global
/declare v39 global
/declare v40 global
/declare v41 global
/declare v42 global
/declare v43 global
/declare v44 global
/declare v45 global
/declare v46 global
/declare v47 global
/declare v48 global
/declare v49 global
/declare v50 global
/declare v51 global
/declare v52 global
/declare v53 global
/declare v54 global
/declare v55 global
/declare v56 global
/declare v57 global
/declare v58 global
/declare v59 global
/declare v60 global
/declare v61 global
/declare v62 global
/declare v63 global
/declare v64 global
/declare v65 global
/declare v66 global
/declare v67 global
/declare v68 global
/declare v69 global
/declare v70 global
/declare v71 global
/declare v72 global
/declare v73 global
/declare v74 global
/declare v75 global
/declare v76 global
/declare v77 global
/declare v78 global
/declare v79 global
/declare v80 global
/declare v81 global
/declare v82 global
/declare v83 global
/declare v84 global
/declare v85 global
/declare v86 global
/declare v87 global
/declare v88 global
/declare v89 global
/declare v90 global
/declare v91 global
/declare v92 global
/declare v93 global
/declare v94 global
/declare v95 global
/declare v96 global
/declare v97 global
/declare v98 global
/declare v99 global
/declare t0 timer
/declare t1 timer
/declare t2 timer
/declare t3 timer
/declare t4 timer
/declare t5 timer
/declare t6 timer
/declare t7 timer
/declare t8 timer
/declare t9 timer

MOTD

Posted: Tue Oct 14, 2003 11:06 am
by Zxeses
Good one M2, hehe but...

Code: Select all

/declare t0 timer
/declare t1 timer
/declare t2 timer
/declare t3 timer
/declare t4 timer
/declare t5 timer
/declare t6 timer
/declare t7 timer
/declare t8 timer
/declare t9 timer
That'll do ya :)

Posted: Tue Oct 14, 2003 11:31 am
by motd2k
lol.... THATS why ive been hanging... must learn to read docs!

Thanks hehe
MOTD

Posted: Tue Oct 14, 2003 4:49 pm
by Valerian
you forgot

Code: Select all

/declare l0 local
/declare l1 local
/declare l2 local
/declare l3 local
/declare l4 local
/declare l5 local
/declare l6 local
/declare l7 local
/declare l8 local
/declare l9 local

Posted: Tue Oct 14, 2003 6:41 pm
by MacroFiend
To add to the laziness, you could also ...

Code: Select all

#define p0 @Param0
#define p1 @Param1
#define p2 @Param2
#define p3 @Param3
#define p4 @Param4
#define p5 @Param5
#define p6 @Param6
#define p7 @Param7
#define p8 @Param8
#define p9 @Param9
#define p10 @Param10
before your Sub Main and then just change the $p's to @p (except for $pack)

Posted: Sun Oct 26, 2003 12:29 am
by MQnoob
i tried adding the #defines you just suggested macrofiend, now my mino hero brew macro can't open it's merchant =( i don't know what the problem is either