Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:38 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MicroMite Incude external Files

Author Message
AlexCesa
Newbie

Joined: 05/02/2023
Location: United Kingdom
Posts: 5
Posted: 09:18pm 18 Feb 2023
Copy link to clipboard 
Print this post

Goodmorning all
Is possible to include external files in MicroMite Basic ?
Thank you in advance
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2640
Posted: 09:32pm 18 Feb 2023
Copy link to clipboard 
Print this post

As far as I know only the Pico WiFi can include HTML and image files etc. for uploading, but not components of the MMBasic program.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 10:14pm 18 Feb 2023
Copy link to clipboard 
Print this post

Are you asking:

If you can #INCLUDE one source file within another? That's currently only available on the CMM2, MMB4W and MMB4L

or:

If you can access external assets, e.g images, CSV files, JSON ? In which case you just need a 'mite with an SD card or the PicoMite's flash file system.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
AlexCesa
Newbie

Joined: 05/02/2023
Location: United Kingdom
Posts: 5
Posted: 12:53pm 19 Feb 2023
Copy link to clipboard 
Print this post

  phil99 said  As far as I know only the Pico WiFi can include HTML and image files etc. for uploading, but not components of the MMBasic program.


Thank you ... i mean INCLUDE other files of source code but it seems isn't possible
 
AlexCesa
Newbie

Joined: 05/02/2023
Location: United Kingdom
Posts: 5
Posted: 12:55pm 19 Feb 2023
Copy link to clipboard 
Print this post

  thwill said  Are you asking:

If you can #INCLUDE one source file within another? That's currently only available on the CMM2, MMB4W and MMB4L

or:

If you can access external assets, e.g images, CSV files, JSON ? In which case you just need a 'mite with an SD card or the PicoMite's flash file system.

Best wishes,

Tom


Thank you TOM
I mean the 1st... i'm working on RPI Pico with Geoff firmware and it seems not possible
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 01:09pm 19 Feb 2023
Copy link to clipboard 
Print this post

  AlexCesa said  Thank you TOM
I mean the 1st... i'm working on RPI Pico with Geoff firmware and it seems not possible


Correct, I use a transpiler/preprocessor (running on MMBasic for Linux) to stitch together multiple files into a single .bas to run on the PicoMite.

In theory the transpiler can run on the PicoMite but I'm waiting for Peter to update the firmware with the support for command line arguments that I authored. He's been a bit busy recently though .

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 07:48pm 19 Feb 2023
Copy link to clipboard 
Print this post

  thwill said  a transpiler/preprocessor (running on MMBasic for Linux) to stitch together multiple files into a single .bas to run on the PicoMite.

Good enough for now.

John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025