Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:46 03 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 : Too many SUB and FUN

Author Message
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 05:53am 04 Apr 2018
Copy link to clipboard 
Print this post

Hi
I am a problem
A want to create a driver for mini thermal printer. For that i begin to create skeleton of some functions and subroutines (whithout codes) like:
Function f1

end function
(lot of fun/sub are copy from arduino lib)
my proc is a mx250 (i know there is many best procs, but i have some of them in my "pocket")
mmbasic v4.5D
i think that, just for printing functions, iti is enough


When I load my programm, it say : "too many SUB and FUN"
Why not, it's not a problem
but
..
after that, it is impossible to do any think
new -> "too many SUB and FUN"
hard reset
list -> "too many SUB and FUN"
power off - power on
print "hello" -> "too many SUB and FUN"

and so and so

first : how many function and subroutine is possible to use
second : why so much hatred
third: helppppEdited by goc30 2018-04-05
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 06:51am 04 Apr 2018
Copy link to clipboard 
Print this post

According to the manual for V4.5D
  Quote  Maximum number of user defined subroutines and functions (combined): 32

This has been increased to 100 or 200 depending on the device.

Jim

VK7JH
MMedit
 
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