This week our focus has been on 7.33, which is a major rewrite of
various sections, many things we know about and are working on.
> This time when I try to compile a basic file it just hangs.
> Compiling oneliners works ok both from USB and ethernet.
could you give us an example of what hangs (see below though)
> Analyzing C:/Documents and Settings/mike asker/Desktop/pwm_a.bas
> processing pwm_a.bas
> --------------------------------------------------------------------
-----------------
>
> It hangs at this stage, I then have to terminate the ARMbasic.exe
process.
>
>
> If I try to compile over ethernet, it hangs also.
> I also find that the ethernet hangs very frequently and stops
> responding to ping.
#include do NOT and will NOT work when loaded into the webpage for
compile. This is because where would the ARMweb go to get the
#include file?
Admittedly it should report an error, but it is ignoring that #
anything as the pre-processor inserts those lines as file markers for
line error reporting, but we should handle it better
To use #include, you should either compile using BASICtools and the
USB, or BASICtools can output a file yourname.bpp which has done all
the pre-processing, which can be forced by checking save
intermediates in the Files menu (I believe it does it automatically
when it detects its talking to a ARMweb)
> After reinstalling the software on the PC I notice that there is no
> C:/program files/coridium/temp
> directory, and C:/temp/ does not contain the intermediate files.
A Vista security change was not allowing us to write to a temp file
in the Program Files directory so we moved that to where the SET
TEMP= environment variable points to. There has been discussion of
this in the group. BASICtools 4.6 looked for the Program Files/temp
directory even though it didn't use it. 4.7 fixes this which can be
downloaded from the Coridium website (setup for BASIC)
ARMweb include
-
YahooArchive
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: ARMweb include
Thanks, I'll make sure my basic files don't use includes.
(but that should not effect the programming over usb?)
I'm already using BasicTools 4.7 and programming over usb.
Where does it put the temp files?
Does 4.7 need the TEMP variable to be defined?
If so, is this done as part of the installation?
thanks for your help
-mike
>
> > After reinstalling the software on the PC I notice that there is no
> > C:/program files/coridium/temp
> > directory, and C:/temp/ does not contain the intermediate files.
>
> A Vista security change was not allowing us to write to a temp file
> in the Program Files directory so we moved that to where the SET
> TEMP= environment variable points to. There has been discussion of
> this in the group. BASICtools 4.6 looked for the Program Files/temp
> directory even though it didn't use it. 4.7 fixes this which can be
> downloaded from the Coridium website (setup for BASIC)
>
>
>
(but that should not effect the programming over usb?)
I'm already using BasicTools 4.7 and programming over usb.
Where does it put the temp files?
Does 4.7 need the TEMP variable to be defined?
If so, is this done as part of the installation?
thanks for your help
-mike
>
> > After reinstalling the software on the PC I notice that there is no
> > C:/program files/coridium/temp
> > directory, and C:/temp/ does not contain the intermediate files.
>
> A Vista security change was not allowing us to write to a temp file
> in the Program Files directory so we moved that to where the SET
> TEMP= environment variable points to. There has been discussion of
> this in the group. BASICtools 4.6 looked for the Program Files/temp
> directory even though it didn't use it. 4.7 fixes this which can be
> downloaded from the Coridium website (setup for BASIC)
>
>
>
-
YahooArchive
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: ARMweb include
> (but that should not effect the programming over usb?)
#include works with BASICtools, which uses the USB
amd version 7.34 of the ARMweb firmware will flag it as an error
> Where does it put the temp files?
WINDOWS defines this, I have yet to see a system without it
> Does 4.7 need the TEMP variable to be defined?
if its not defined it reverts to /Program Files/Coridium/Temp
> If so, is this done as part of the installation?
No, it does not need to be
#include works with BASICtools, which uses the USB
amd version 7.34 of the ARMweb firmware will flag it as an error
> Where does it put the temp files?
WINDOWS defines this, I have yet to see a system without it
> Does 4.7 need the TEMP variable to be defined?
if its not defined it reverts to /Program Files/Coridium/Temp
> If so, is this done as part of the installation?
No, it does not need to be
-
YahooArchive
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: ARMweb include
Thanks bruce for the quick response...
I am seeing two bizarre behaviours...
1) I create a simple hello world oneliner basic file. I compile it over
usb, and it works. I then try to compile it a second time. This
time when I navigate to the same file using the Load window, as soon
as my cursor hovers over the basic file, it dies and quits basic tools.
It's as if the first compile did not did not close the file.
(I'm running XP sp2, basictools 4.7, armbasic 7.31)
2) I still get the problem where I am hanging when I try to compile over
usb with
my original file (with no includes, see attached)
The output is I get is
=================================================
Searching for DHCP
DHCP Get IP Failed
MyName ARMweb
MyIP 192.168.0.50
MyMask 255.255.255.0
MyDNS 0.0.0.0
mb_dhcp_MAC 00 00 00 00 00 00
mb_dhcp_IP 0.0.0.0
Welcome to ARMbasic[7.33] Copyright 2008,
Coridium Corp.
for the ARMweb
Executing...
this message comes from a compiled basic file
... Finished in 25 ms
Analyzing C:/projects/corridium/pwm_a.bas
processing pwm_a.bas
=====================================================
cheers
-mike
I am seeing two bizarre behaviours...
1) I create a simple hello world oneliner basic file. I compile it over
usb, and it works. I then try to compile it a second time. This
time when I navigate to the same file using the Load window, as soon
as my cursor hovers over the basic file, it dies and quits basic tools.
It's as if the first compile did not did not close the file.
(I'm running XP sp2, basictools 4.7, armbasic 7.31)
2) I still get the problem where I am hanging when I try to compile over
usb with
my original file (with no includes, see attached)
The output is I get is
=================================================
Searching for DHCP
DHCP Get IP Failed
MyName ARMweb
MyIP 192.168.0.50
MyMask 255.255.255.0
MyDNS 0.0.0.0
mb_dhcp_MAC 00 00 00 00 00 00
mb_dhcp_IP 0.0.0.0
Welcome to ARMbasic[7.33] Copyright 2008,
Coridium Corp.
for the ARMweb
Executing...
this message comes from a compiled basic file
... Finished in 25 ms
Analyzing C:/projects/corridium/pwm_a.bas
processing pwm_a.bas
=====================================================
cheers
-mike
-
YahooArchive
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: ARMweb include
> 1) I create a simple hello world oneliner basic file. I compile it
over
> usb, and it works. I then try to compile it a second time. This
> time when I navigate to the same file using the Load window, as soon
> as my cursor hovers over the basic file, it dies and quits basic
tools.
> It's as if the first compile did not did not close the file.
> (I'm running XP sp2, basictools 4.7, armbasic 7.31)
>
> 2) I still get the problem where I am hanging when I try to compile
over
> usb with
> my original file (with no includes, see attached)
>
I can't duplicate your first report, running XP sp3, this would be a
Tcl issue, as we are calling the file choose routine there.
Your example program uses a now ancient syntax for HWPWM which is no
longer supported (all HWPWM is done through #include's), it generates
this expected error for me
ERROR In Line 55: Expected A Variable
over
> usb, and it works. I then try to compile it a second time. This
> time when I navigate to the same file using the Load window, as soon
> as my cursor hovers over the basic file, it dies and quits basic
tools.
> It's as if the first compile did not did not close the file.
> (I'm running XP sp2, basictools 4.7, armbasic 7.31)
>
> 2) I still get the problem where I am hanging when I try to compile
over
> usb with
> my original file (with no includes, see attached)
>
I can't duplicate your first report, running XP sp3, this would be a
Tcl issue, as we are calling the file choose routine there.
Your example program uses a now ancient syntax for HWPWM which is no
longer supported (all HWPWM is done through #include's), it generates
this expected error for me
ERROR In Line 55: Expected A Variable