ARMweb include
Posted: Tue Dec 04, 2012 1:56 am
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)
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)