Shop OBEX P1 Docs P2 Docs Learn Events
Stamp Project of the Month - RATBAS - HELP!!!! — Parallax Forums

Stamp Project of the Month - RATBAS - HELP!!!!

ArchiverArchiver Posts: 46,084
edited 2001-05-09 04:22 in General Discussion
Hi all (Al),

I've tried using RatBas but it dosn't seem to work. Perhaps I'm doing
something wrong.

I create a new xxx.bs2 file like below.

x var word

if x = 10 then
debug "hello", cr
else
debug "worked", cr
endif

I ran the program using the command

ratbas c:\xxx.bs2>c:\xxx_0.bs2

That worked and created a file called xxx_0.bs2, but the file it
created was of no size (0 bytes).

I'm not sure if it's because of something i've done or not.

I assume that this ap that you've written lets you use the
if..then..else loop which previously couldn't be used in a BS2 code
routine. Is this correct?

I'm also not sure how I send this to the stamp. If I write a
if..then..else loop in the Stamp Editor for Windows, it will not
tokinise the routine.

Please help, It would be great if I could use it.

Thanks in advance,

Simon.


--- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
> You can run it using Start | Run or you can open an MSDOS prompt
and run it
> from there (not DOS -- but an MSDOS prompt in Windows).
>
> Perhaps someone will be kind enough to write a WSH shell that lets
you pick
> a file name graphically :-)
>
> I haven't had any bad reports so either a) it works OK, b) no one
is using
> it, c) no one could figure out how to run it :-)
>
> Regards,
>
> Al Williams
> AWC
> * Floating point math for the Stamp, PIC, SX, or any microcontroller
> http://www.al-williams.com/awce/pak1.htm
>
>
> >
Original Message
> > From: s premena [noparse][[/noparse]mailto[noparse]:p[/noparse]remzee@j...]
> > Sent: Thursday, May 03, 2001 8:20 PM
> > To: basicstamps@y...
> > Subject: [noparse][[/noparse]basicstamps] RE:Stamp Project of the Month - RATBAS
> >
> >
> > This program looks to be quite useful but the instructions
> > say to run it "from the command line" with two file names
> > appended - My question is: what command line? In WinDoz 98
> > I don't have a command line and in DOS the .EXE file says
> > no go in DOS. This stuff is boggling my old brain...
> >
> > Please help me out.... thanks, premena
> >
> > > Date: Mon, 30 Apr 2001 17:15:22 -0500
> > > From: "Al Williams" <alw@a...>
> >
> >
> > >The Stamp Project for May is online! No hardware this month --
> > >but some software you can use.
> >
> > ________________________________________________________________
> > GET INTERNET ACCESS FROM JUNO!
> > Juno offers FREE or PREMIUM Internet access for less!
> > Join Juno today! For your FREE software, visit:
> > http://dl.www.juno.com/get/tagj.
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-05-08 12:46
    RatBas is a java program. You need the JRE (Java Runtime Edition) or JDK
    (Java Developer's Kit) installed. Then you use:

    java RatBas xyz.bs2 >xyz_0.bs2

    The case on RatBas makes a difference. In other words, use RatBas, not
    ratbas, or RATBAS.

    Let me know if that works!

    Al Williams
    AWC
    * Half-off sale in progress (ends soon): http://www.al-williams.com/awce


    >
    Original Message
    > From: egroups@d... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=mU4pIVz_OHCvNJiuiEWWxq4t_FAwhWVTN7_SnMbdi9nSZCtsORVxKZQThlpy1Vqt1JBNRC7NucnYNf-3]egroups@d...[/url
    > Sent: Tuesday, May 08, 2001 1:21 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Stamp Project of the Month - RATBAS - HELP!!!!
    >
    >
    > Hi all (Al),
    >
    > I've tried using RatBas but it dosn't seem to work. Perhaps I'm doing
    > something wrong.
    >
    > I create a new xxx.bs2 file like below.
    >
    > x var word
    >
    > if x = 10 then
    > debug "hello", cr
    > else
    > debug "worked", cr
    > endif
    >
    > I ran the program using the command
    >
    > ratbas c:\xxx.bs2>c:\xxx_0.bs2
    >
    > That worked and created a file called xxx_0.bs2, but the file it
    > created was of no size (0 bytes).
    >
    > I'm not sure if it's because of something i've done or not.
    >
    > I assume that this ap that you've written lets you use the
    > if..then..else loop which previously couldn't be used in a BS2 code
    > routine. Is this correct?
    >
    > I'm also not sure how I send this to the stamp. If I write a
    > if..then..else loop in the Stamp Editor for Windows, it will not
    > tokinise the routine.
    >
    > Please help, It would be great if I could use it.
    >
    > Thanks in advance,
    >
    > Simon.
    >
    >
    > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > You can run it using Start | Run or you can open an MSDOS prompt
    > and run it
    > > from there (not DOS -- but an MSDOS prompt in Windows).
    > >
    > > Perhaps someone will be kind enough to write a WSH shell that lets
    > you pick
    > > a file name graphically :-)
    > >
    > > I haven't had any bad reports so either a) it works OK, b) no one
    > is using
    > > it, c) no one could figure out how to run it :-)
    > >
    > > Regards,
    > >
    > > Al Williams
    > > AWC
    > > * Floating point math for the Stamp, PIC, SX, or any microcontroller
    > > http://www.al-williams.com/awce/pak1.htm
    > >
    > >
    > > >
    Original Message
    > > > From: s premena [noparse][[/noparse]mailto[noparse]:p[/noparse]remzee@j...]
    > > > Sent: Thursday, May 03, 2001 8:20 PM
    > > > To: basicstamps@y...
    > > > Subject: [noparse][[/noparse]basicstamps] RE:Stamp Project of the Month - RATBAS
    > > >
    > > >
    > > > This program looks to be quite useful but the instructions
    > > > say to run it "from the command line" with two file names
    > > > appended - My question is: what command line? In WinDoz 98
    > > > I don't have a command line and in DOS the .EXE file says
    > > > no go in DOS. This stuff is boggling my old brain...
    > > >
    > > > Please help me out.... thanks, premena
    > > >
    > > > > Date: Mon, 30 Apr 2001 17:15:22 -0500
    > > > > From: "Al Williams" <alw@a...>
    > > >
    > > >
    > > > >The Stamp Project for May is online! No hardware this month --
    > > > >but some software you can use.
    > > >
    > > > ________________________________________________________________
    > > > GET INTERNET ACCESS FROM JUNO!
    > > > Juno offers FREE or PREMIUM Internet access for less!
    > > > Join Juno today! For your FREE software, visit:
    > > > http://dl.www.juno.com/get/tagj.
    > > >
    > > >
    > > >
    > > > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > >
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-09 01:06
    Hi Al,

    No, still not working. I already have JDK installed, and downloaded
    the latest JRE just to make sure.

    I keep getting a Exception in thread "main"
    java.lang.NoClassDefFoundError: RatBas

    I've also tried the perl version (under apache, winnt 4.0) but no
    success. Could you either provide the source code or some more
    details about how to call the class or script please.

    Sorry about all the problems...


    Simon

    --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > RatBas is a java program. You need the JRE (Java Runtime Edition)
    or JDK
    > (Java Developer's Kit) installed. Then you use:
    >
    > java RatBas xyz.bs2 >xyz_0.bs2
    >
    > The case on RatBas makes a difference. In other words, use RatBas,
    not
    > ratbas, or RATBAS.
    >
    > Let me know if that works!
    >
    > Al Williams
    > AWC
    > * Half-off sale in progress (ends soon): http://www.al-
    williams.com/awce
    >
    >
    > >
    Original Message
    > > From: egroups@d... [noparse][[/noparse]mailto:egroups@d...]
    > > Sent: Tuesday, May 08, 2001 1:21 AM
    > > To: basicstamps@y...
    > > Subject: [noparse][[/noparse]basicstamps] Stamp Project of the Month - RATBAS -
    HELP!!!!
    > >
    > >
    > > Hi all (Al),
    > >
    > > I've tried using RatBas but it dosn't seem to work. Perhaps I'm
    doing
    > > something wrong.
    > >
    > > I create a new xxx.bs2 file like below.
    > >
    > > x var word
    > >
    > > if x = 10 then
    > > debug "hello", cr
    > > else
    > > debug "worked", cr
    > > endif
    > >
    > > I ran the program using the command
    > >
    > > ratbas c:\xxx.bs2>c:\xxx_0.bs2
    > >
    > > That worked and created a file called xxx_0.bs2, but the file it
    > > created was of no size (0 bytes).
    > >
    > > I'm not sure if it's because of something i've done or not.
    > >
    > > I assume that this ap that you've written lets you use the
    > > if..then..else loop which previously couldn't be used in a BS2
    code
    > > routine. Is this correct?
    > >
    > > I'm also not sure how I send this to the stamp. If I write a
    > > if..then..else loop in the Stamp Editor for Windows, it will not
    > > tokinise the routine.
    > >
    > > Please help, It would be great if I could use it.
    > >
    > > Thanks in advance,
    > >
    > > Simon.
    > >
    > >
    > > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > > You can run it using Start | Run or you can open an MSDOS prompt
    > > and run it
    > > > from there (not DOS -- but an MSDOS prompt in Windows).
    > > >
    > > > Perhaps someone will be kind enough to write a WSH shell that
    lets
    > > you pick
    > > > a file name graphically :-)
    > > >
    > > > I haven't had any bad reports so either a) it works OK, b) no
    one
    > > is using
    > > > it, c) no one could figure out how to run it :-)
    > > >
    > > > Regards,
    > > >
    > > > Al Williams
    > > > AWC
    > > > * Floating point math for the Stamp, PIC, SX, or any
    microcontroller
    > > > http://www.al-williams.com/awce/pak1.htm
    > > >
    > > >
    > > > >
    Original Message
    > > > > From: s premena [noparse][[/noparse]mailto[noparse]:p[/noparse]remzee@j...]
    > > > > Sent: Thursday, May 03, 2001 8:20 PM
    > > > > To: basicstamps@y...
    > > > > Subject: [noparse][[/noparse]basicstamps] RE:Stamp Project of the Month - RATBAS
    > > > >
    > > > >
    > > > > This program looks to be quite useful but the instructions
    > > > > say to run it "from the command line" with two file names
    > > > > appended - My question is: what command line? In WinDoz 98
    > > > > I don't have a command line and in DOS the .EXE file says
    > > > > no go in DOS. This stuff is boggling my old brain...
    > > > >
    > > > > Please help me out.... thanks, premena
    > > > >
    > > > > > Date: Mon, 30 Apr 2001 17:15:22 -0500
    > > > > > From: "Al Williams" <alw@a...>
    > > > >
    > > > >
    > > > > >The Stamp Project for May is online! No hardware this month -
    -
    > > > > >but some software you can use.
    > > > >
    > > > >
    ________________________________________________________________
    > > > > GET INTERNET ACCESS FROM JUNO!
    > > > > Juno offers FREE or PREMIUM Internet access for less!
    > > > > Join Juno today! For your FREE software, visit:
    > > > > http://dl.www.juno.com/get/tagj.
    > > > >
    > > > >
    > > > >
    > > > > Your use of Yahoo! Groups is subject to
    > > http://docs.yahoo.com/info/terms/
    > > > >
    > >
    > >
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-09 01:58
    Almost has to be a CLASSPATH problem.

    From your DOS prompt, type

    echo %CLASSPATH

    It should have the directory for RATBAS in it.

    I'm not sure about the RATBAS.EXE that the installer makes.

    Try:

    java RatBas

    and see if it won't come up. If not, try:

    java -cp c:\ratbas\;c:\ratbas\jakarta-oro-2.0.jar RatBas (or whatever your
    path is)

    The Perl version requires ActivePerl or some other command line Perl. It
    isn't a CGI script.

    Regards,

    Al Williams
    AWC
    * 50% off sale in progress now: http://www.al-williams.com/awce




    >
    Original Message
    > From: egroups@d... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=KFUYlSF-jmFsQo-BVTAgiN9DjXTCac9rEy6E4c_TZjgtFtGR93-QSrgnTFfe7g0N2yTHkA4vSZLvw5L6d_hm]egroups@d...[/url
    > Sent: Tuesday, May 08, 2001 7:07 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: Stamp Project of the Month - RATBAS -
    > HELP!!!!
    >
    >
    > Hi Al,
    >
    > No, still not working. I already have JDK installed, and downloaded
    > the latest JRE just to make sure.
    >
    > I keep getting a Exception in thread "main"
    > java.lang.NoClassDefFoundError: RatBas
    >
    > I've also tried the perl version (under apache, winnt 4.0) but no
    > success. Could you either provide the source code or some more
    > details about how to call the class or script please.
    >
    > Sorry about all the problems...
    >
    >
    > Simon
    >
    > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > RatBas is a java program. You need the JRE (Java Runtime Edition)
    > or JDK
    > > (Java Developer's Kit) installed. Then you use:
    > >
    > > java RatBas xyz.bs2 >xyz_0.bs2
    > >
    > > The case on RatBas makes a difference. In other words, use RatBas,
    > not
    > > ratbas, or RATBAS.
    > >
    > > Let me know if that works!
    > >
    > > Al Williams
    > > AWC
    > > * Half-off sale in progress (ends soon): http://www.al-
    > williams.com/awce
    > >
    > >
    > > >
    Original Message
    > > > From: egroups@d... [noparse][[/noparse]mailto:egroups@d...]
    > > > Sent: Tuesday, May 08, 2001 1:21 AM
    > > > To: basicstamps@y...
    > > > Subject: [noparse][[/noparse]basicstamps] Stamp Project of the Month - RATBAS -
    > HELP!!!!
    > > >
    > > >
    > > > Hi all (Al),
    > > >
    > > > I've tried using RatBas but it dosn't seem to work. Perhaps I'm
    > doing
    > > > something wrong.
    > > >
    > > > I create a new xxx.bs2 file like below.
    > > >
    > > > x var word
    > > >
    > > > if x = 10 then
    > > > debug "hello", cr
    > > > else
    > > > debug "worked", cr
    > > > endif
    > > >
    > > > I ran the program using the command
    > > >
    > > > ratbas c:\xxx.bs2>c:\xxx_0.bs2
    > > >
    > > > That worked and created a file called xxx_0.bs2, but the file it
    > > > created was of no size (0 bytes).
    > > >
    > > > I'm not sure if it's because of something i've done or not.
    > > >
    > > > I assume that this ap that you've written lets you use the
    > > > if..then..else loop which previously couldn't be used in a BS2
    > code
    > > > routine. Is this correct?
    > > >
    > > > I'm also not sure how I send this to the stamp. If I write a
    > > > if..then..else loop in the Stamp Editor for Windows, it will not
    > > > tokinise the routine.
    > > >
    > > > Please help, It would be great if I could use it.
    > > >
    > > > Thanks in advance,
    > > >
    > > > Simon.
    > > >
    > > >
    > > > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > > > You can run it using Start | Run or you can open an MSDOS prompt
    > > > and run it
    > > > > from there (not DOS -- but an MSDOS prompt in Windows).
    > > > >
    > > > > Perhaps someone will be kind enough to write a WSH shell that
    > lets
    > > > you pick
    > > > > a file name graphically :-)
    > > > >
    > > > > I haven't had any bad reports so either a) it works OK, b) no
    > one
    > > > is using
    > > > > it, c) no one could figure out how to run it :-)
    > > > >
    > > > > Regards,
    > > > >
    > > > > Al Williams
    > > > > AWC
    > > > > * Floating point math for the Stamp, PIC, SX, or any
    > microcontroller
    > > > > http://www.al-williams.com/awce/pak1.htm
    > > > >
    > > > >
    > > > > >
    Original Message
    > > > > > From: s premena [noparse][[/noparse]mailto[noparse]:p[/noparse]remzee@j...]
    > > > > > Sent: Thursday, May 03, 2001 8:20 PM
    > > > > > To: basicstamps@y...
    > > > > > Subject: [noparse][[/noparse]basicstamps] RE:Stamp Project of the Month - RATBAS
    > > > > >
    > > > > >
    > > > > > This program looks to be quite useful but the instructions
    > > > > > say to run it "from the command line" with two file names
    > > > > > appended - My question is: what command line? In WinDoz 98
    > > > > > I don't have a command line and in DOS the .EXE file says
    > > > > > no go in DOS. This stuff is boggling my old brain...
    > > > > >
    > > > > > Please help me out.... thanks, premena
    > > > > >
    > > > > > > Date: Mon, 30 Apr 2001 17:15:22 -0500
    > > > > > > From: "Al Williams" <alw@a...>
    > > > > >
    > > > > >
    > > > > > >The Stamp Project for May is online! No hardware this month -
    > -
    > > > > > >but some software you can use.
    > > > > >
    > > > > >
    > ________________________________________________________________
    > > > > > GET INTERNET ACCESS FROM JUNO!
    > > > > > Juno offers FREE or PREMIUM Internet access for less!
    > > > > > Join Juno today! For your FREE software, visit:
    > > > > > http://dl.www.juno.com/get/tagj.
    > > > > >
    > > > > >
    > > > > >
    > > > > > Your use of Yahoo! Groups is subject to
    > > > http://docs.yahoo.com/info/terms/
    > > > > >
    > > >
    > > >
    > > >
    > > >
    > > > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > >
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-09 03:17
    Whoops... I double checked. I put the wrong installer exe in, so try
    downloading it again (Sorry). If you run it with the right classpath
    manually it will work, but the EXE will not work unless you reinstall.

    I'm still getting the kinks out of this Java stuff. Our new NetPorter
    (www.netporter.com) has a bigger, smarter install (its on a CDROM so 10M
    isn't a problem there). It works OK (I just checked to be sure).

    Sorry for the trouble.

    Al Williams
    AWC
    * 50% off sale in progress! http://www.al-williams.com/awce


    >
    Original Message
    > From: Al Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=PSB5v1l1TIExe8Di2wt2fkHlnBTiFr5QxsG9I7-aRdiy-3h8ox4rtI4CSiVJYfqkZ9bBiZ3A9OydMw]alw@a...[/url
    > Sent: Tuesday, May 08, 2001 7:58 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: Stamp Project of the Month - RATBAS -
    > HELP!!!!
    >
    >
    > Almost has to be a CLASSPATH problem.
    >
    > >From your DOS prompt, type
    >
    > echo %CLASSPATH
    >
    > It should have the directory for RATBAS in it.
    >
    > I'm not sure about the RATBAS.EXE that the installer makes.
    >
    > Try:
    >
    > java RatBas
    >
    > and see if it won't come up. If not, try:
    >
    > java -cp c:\ratbas\;c:\ratbas\jakarta-oro-2.0.jar RatBas (or
    > whatever your
    > path is)
    >
    > The Perl version requires ActivePerl or some other command line Perl. It
    > isn't a CGI script.
    >
    > Regards,
    >
    > Al Williams
    > AWC
    > * 50% off sale in progress now: http://www.al-williams.com/awce
    >
    >
    >
    >
    > >
    Original Message
    > > From: egroups@d... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Hr-P2G3DmPmpDf4KBblajHd5gGwDN21llczQc8eNkXV8bOwZg4k1s4BuAliv_vi82DMKsgl75nKsmPcNw58]egroups@d...[/url
    > > Sent: Tuesday, May 08, 2001 7:07 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Re: Stamp Project of the Month - RATBAS -
    > > HELP!!!!
    > >
    > >
    > > Hi Al,
    > >
    > > No, still not working. I already have JDK installed, and downloaded
    > > the latest JRE just to make sure.
    > >
    > > I keep getting a Exception in thread "main"
    > > java.lang.NoClassDefFoundError: RatBas
    > >
    > > I've also tried the perl version (under apache, winnt 4.0) but no
    > > success. Could you either provide the source code or some more
    > > details about how to call the class or script please.
    > >
    > > Sorry about all the problems...
    > >
    > >
    > > Simon
    > >
    > > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > > RatBas is a java program. You need the JRE (Java Runtime Edition)
    > > or JDK
    > > > (Java Developer's Kit) installed. Then you use:
    > > >
    > > > java RatBas xyz.bs2 >xyz_0.bs2
    > > >
    > > > The case on RatBas makes a difference. In other words, use RatBas,
    > > not
    > > > ratbas, or RATBAS.
    > > >
    > > > Let me know if that works!
    > > >
    > > > Al Williams
    > > > AWC
    > > > * Half-off sale in progress (ends soon): http://www.al-
    > > williams.com/awce
    > > >
    > > >
    > > > >
    Original Message
    > > > > From: egroups@d... [noparse][[/noparse]mailto:egroups@d...]
    > > > > Sent: Tuesday, May 08, 2001 1:21 AM
    > > > > To: basicstamps@y...
    > > > > Subject: [noparse][[/noparse]basicstamps] Stamp Project of the Month - RATBAS -
    > > HELP!!!!
    > > > >
    > > > >
    > > > > Hi all (Al),
    > > > >
    > > > > I've tried using RatBas but it dosn't seem to work. Perhaps I'm
    > > doing
    > > > > something wrong.
    > > > >
    > > > > I create a new xxx.bs2 file like below.
    > > > >
    > > > > x var word
    > > > >
    > > > > if x = 10 then
    > > > > debug "hello", cr
    > > > > else
    > > > > debug "worked", cr
    > > > > endif
    > > > >
    > > > > I ran the program using the command
    > > > >
    > > > > ratbas c:\xxx.bs2>c:\xxx_0.bs2
    > > > >
    > > > > That worked and created a file called xxx_0.bs2, but the file it
    > > > > created was of no size (0 bytes).
    > > > >
    > > > > I'm not sure if it's because of something i've done or not.
    > > > >
    > > > > I assume that this ap that you've written lets you use the
    > > > > if..then..else loop which previously couldn't be used in a BS2
    > > code
    > > > > routine. Is this correct?
    > > > >
    > > > > I'm also not sure how I send this to the stamp. If I write a
    > > > > if..then..else loop in the Stamp Editor for Windows, it will not
    > > > > tokinise the routine.
    > > > >
    > > > > Please help, It would be great if I could use it.
    > > > >
    > > > > Thanks in advance,
    > > > >
    > > > > Simon.
    > > > >
    > > > >
    > > > > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > > > > You can run it using Start | Run or you can open an MSDOS prompt
    > > > > and run it
    > > > > > from there (not DOS -- but an MSDOS prompt in Windows).
    > > > > >
    > > > > > Perhaps someone will be kind enough to write a WSH shell that
    > > lets
    > > > > you pick
    > > > > > a file name graphically :-)
    > > > > >
    > > > > > I haven't had any bad reports so either a) it works OK, b) no
    > > one
    > > > > is using
    > > > > > it, c) no one could figure out how to run it :-)
    > > > > >
    > > > > > Regards,
    > > > > >
    > > > > > Al Williams
    > > > > > AWC
    > > > > > * Floating point math for the Stamp, PIC, SX, or any
    > > microcontroller
    > > > > > http://www.al-williams.com/awce/pak1.htm
    > > > > >
    > > > > >
    > > > > > >
    Original Message
    > > > > > > From: s premena [noparse][[/noparse]mailto[noparse]:p[/noparse]remzee@j...]
    > > > > > > Sent: Thursday, May 03, 2001 8:20 PM
    > > > > > > To: basicstamps@y...
    > > > > > > Subject: [noparse][[/noparse]basicstamps] RE:Stamp Project of the Month - RATBAS
    > > > > > >
    > > > > > >
    > > > > > > This program looks to be quite useful but the instructions
    > > > > > > say to run it "from the command line" with two file names
    > > > > > > appended - My question is: what command line? In WinDoz 98
    > > > > > > I don't have a command line and in DOS the .EXE file says
    > > > > > > no go in DOS. This stuff is boggling my old brain...
    > > > > > >
    > > > > > > Please help me out.... thanks, premena
    > > > > > >
    > > > > > > > Date: Mon, 30 Apr 2001 17:15:22 -0500
    > > > > > > > From: "Al Williams" <alw@a...>
    > > > > > >
    > > > > > >
    > > > > > > >The Stamp Project for May is online! No hardware this month -
    > > -
    > > > > > > >but some software you can use.
    > > > > > >
    > > > > > >
    > > ________________________________________________________________
    > > > > > > GET INTERNET ACCESS FROM JUNO!
    > > > > > > Juno offers FREE or PREMIUM Internet access for less!
    > > > > > > Join Juno today! For your FREE software, visit:
    > > > > > > http://dl.www.juno.com/get/tagj.
    > > > > > >
    > > > > > >
    > > > > > >
    > > > > > > Your use of Yahoo! Groups is subject to
    > > > > http://docs.yahoo.com/info/terms/
    > > > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > Your use of Yahoo! Groups is subject to
    > > http://docs.yahoo.com/info/terms/
    > > > >
    > >
    > >
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    >




    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-09 04:22
    Hi Al,

    It's working great now, thanks very much.

    Simon

    --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > Whoops... I double checked. I put the wrong installer exe in, so try
    > downloading it again (Sorry). If you run it with the right classpath
    > manually it will work, but the EXE will not work unless you
    reinstall.
    >
    > I'm still getting the kinks out of this Java stuff. Our new
    NetPorter
    > (www.netporter.com) has a bigger, smarter install (its on a CDROM
    so 10M
    > isn't a problem there). It works OK (I just checked to be sure).
    >
    > Sorry for the trouble.
    >
    > Al Williams
    > AWC
    > * 50% off sale in progress! http://www.al-williams.com/awce
    >
    >
    > >
    Original Message
    > > From: Al Williams [noparse][[/noparse]mailto:alw@a...]
    > > Sent: Tuesday, May 08, 2001 7:58 PM
    > > To: basicstamps@y...
    > > Subject: RE: [noparse][[/noparse]basicstamps] Re: Stamp Project of the Month -
    RATBAS -
    > > HELP!!!!
    > >
    > >
    > > Almost has to be a CLASSPATH problem.
    > >
    > > >From your DOS prompt, type
    > >
    > > echo %CLASSPATH
    > >
    > > It should have the directory for RATBAS in it.
    > >
    > > I'm not sure about the RATBAS.EXE that the installer makes.
    > >
    > > Try:
    > >
    > > java RatBas
    > >
    > > and see if it won't come up. If not, try:
    > >
    > > java -cp c:\ratbas\;c:\ratbas\jakarta-oro-2.0.jar RatBas (or
    > > whatever your
    > > path is)
    > >
    > > The Perl version requires ActivePerl or some other command line
    Perl. It
    > > isn't a CGI script.
    > >
    > > Regards,
    > >
    > > Al Williams
    > > AWC
    > > * 50% off sale in progress now: http://www.al-williams.com/awce
    > >
    > >
    > >
    > >
    > > >
    Original Message
    > > > From: egroups@d... [noparse][[/noparse]mailto:egroups@d...]
    > > > Sent: Tuesday, May 08, 2001 7:07 PM
    > > > To: basicstamps@y...
    > > > Subject: [noparse][[/noparse]basicstamps] Re: Stamp Project of the Month - RATBAS -
    > > > HELP!!!!
    > > >
    > > >
    > > > Hi Al,
    > > >
    > > > No, still not working. I already have JDK installed, and
    downloaded
    > > > the latest JRE just to make sure.
    > > >
    > > > I keep getting a Exception in thread "main"
    > > > java.lang.NoClassDefFoundError: RatBas
    > > >
    > > > I've also tried the perl version (under apache, winnt 4.0) but
    no
    > > > success. Could you either provide the source code or some more
    > > > details about how to call the class or script please.
    > > >
    > > > Sorry about all the problems...
    > > >
    > > >
    > > > Simon
    > > >
    > > > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > > > RatBas is a java program. You need the JRE (Java Runtime
    Edition)
    > > > or JDK
    > > > > (Java Developer's Kit) installed. Then you use:
    > > > >
    > > > > java RatBas xyz.bs2 >xyz_0.bs2
    > > > >
    > > > > The case on RatBas makes a difference. In other words, use
    RatBas,
    > > > not
    > > > > ratbas, or RATBAS.
    > > > >
    > > > > Let me know if that works!
    > > > >
    > > > > Al Williams
    > > > > AWC
    > > > > * Half-off sale in progress (ends soon): http://www.al-
    > > > williams.com/awce
    > > > >
    > > > >
    > > > > >
    Original Message
    > > > > > From: egroups@d... [noparse][[/noparse]mailto:egroups@d...]
    > > > > > Sent: Tuesday, May 08, 2001 1:21 AM
    > > > > > To: basicstamps@y...
    > > > > > Subject: [noparse][[/noparse]basicstamps] Stamp Project of the Month - RATBAS -
    > > > HELP!!!!
    > > > > >
    > > > > >
    > > > > > Hi all (Al),
    > > > > >
    > > > > > I've tried using RatBas but it dosn't seem to work. Perhaps
    I'm
    > > > doing
    > > > > > something wrong.
    > > > > >
    > > > > > I create a new xxx.bs2 file like below.
    > > > > >
    > > > > > x var word
    > > > > >
    > > > > > if x = 10 then
    > > > > > debug "hello", cr
    > > > > > else
    > > > > > debug "worked", cr
    > > > > > endif
    > > > > >
    > > > > > I ran the program using the command
    > > > > >
    > > > > > ratbas c:\xxx.bs2>c:\xxx_0.bs2
    > > > > >
    > > > > > That worked and created a file called xxx_0.bs2, but the
    file it
    > > > > > created was of no size (0 bytes).
    > > > > >
    > > > > > I'm not sure if it's because of something i've done or not.
    > > > > >
    > > > > > I assume that this ap that you've written lets you use the
    > > > > > if..then..else loop which previously couldn't be used in a
    BS2
    > > > code
    > > > > > routine. Is this correct?
    > > > > >
    > > > > > I'm also not sure how I send this to the stamp. If I write a
    > > > > > if..then..else loop in the Stamp Editor for Windows, it
    will not
    > > > > > tokinise the routine.
    > > > > >
    > > > > > Please help, It would be great if I could use it.
    > > > > >
    > > > > > Thanks in advance,
    > > > > >
    > > > > > Simon.
    > > > > >
    > > > > >
    > > > > > --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
    > > > > > > You can run it using Start | Run or you can open an MSDOS
    prompt
    > > > > > and run it
    > > > > > > from there (not DOS -- but an MSDOS prompt in Windows).
    > > > > > >
    > > > > > > Perhaps someone will be kind enough to write a WSH shell
    that
    > > > lets
    > > > > > you pick
    > > > > > > a file name graphically :-)
    > > > > > >
    > > > > > > I haven't had any bad reports so either a) it works OK,
    b) no
    > > > one
    > > > > > is using
    > > > > > > it, c) no one could figure out how to run it :-)
    > > > > > >
    > > > > > > Regards,
    > > > > > >
    > > > > > > Al Williams
    > > > > > > AWC
    > > > > > > * Floating point math for the Stamp, PIC, SX, or any
    > > > microcontroller
    > > > > > > http://www.al-williams.com/awce/pak1.htm
    > > > > > >
    > > > > > >
    > > > > > > >
    Original Message
    > > > > > > > From: s premena [noparse][[/noparse]mailto[noparse]:p[/noparse]remzee@j...]
    > > > > > > > Sent: Thursday, May 03, 2001 8:20 PM
    > > > > > > > To: basicstamps@y...
    > > > > > > > Subject: [noparse][[/noparse]basicstamps] RE:Stamp Project of the Month -
    RATBAS
    > > > > > > >
    > > > > > > >
    > > > > > > > This program looks to be quite useful but the
    instructions
    > > > > > > > say to run it "from the command line" with two file
    names
    > > > > > > > appended - My question is: what command line? In WinDoz
    98
    > > > > > > > I don't have a command line and in DOS the .EXE file
    says
    > > > > > > > no go in DOS. This stuff is boggling my old brain...
    > > > > > > >
    > > > > > > > Please help me out.... thanks, premena
    > > > > > > >
    > > > > > > > > Date: Mon, 30 Apr 2001 17:15:22 -0500
    > > > > > > > > From: "Al Williams" <alw@a...>
    > > > > > > >
    > > > > > > >
    > > > > > > > >The Stamp Project for May is online! No hardware this
    month -
    > > > -
    > > > > > > > >but some software you can use.
    > > > > > > >
    > > > > > > >
    > > > ________________________________________________________________
    > > > > > > > GET INTERNET ACCESS FROM JUNO!
    > > > > > > > Juno offers FREE or PREMIUM Internet access for less!
    > > > > > > > Join Juno today! For your FREE software, visit:
    > > > > > > > http://dl.www.juno.com/get/tagj.
    > > > > > > >
    > > > > > > >
    > > > > > > >
    > > > > > > > Your use of Yahoo! Groups is subject to
    > > > > > http://docs.yahoo.com/info/terms/
    > > > > > > >
    > > > > >
    > > > > >
    > > > > >
    > > > > >
    > > > > > Your use of Yahoo! Groups is subject to
    > > > http://docs.yahoo.com/info/terms/
    > > > > >
    > > >
    > > >
    > > >
    > > >
    > > > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > >
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
Sign In or Register to comment.