Anyone know if it's possible to test for whether the system a program is running on supports level 2 directories?
I'm sure I've read the answer somewhere before but can't for the life of me remember where.
Level 2 check
- NormanDunbar
- Forum Moderator
- Posts: 2277
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: Level 2 check
Head over to Dilwyn's web site and download DJToolkit. It has a function called, level2, which does exactly what you want.
HTH
Cheers,
Norm.
HTH
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: Level 2 check
Many thanks.NormanDunbar wrote:Head over to Dilwyn's web site and download DJToolkit. It has a function called, level2, which does exactly what you want.
HTH
Cheers,
Norm.
David
- NormanDunbar
- Forum Moderator
- Posts: 2277
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: Level 2 check
Sorry, forgot the link http://www.dilwyn.me.uk/tk/djtk.zip and the keyword you want is at https://superbasic-manual.readthedocs.i ... evel2.html.
Cheers.
Cheers.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: Level 2 check
You could probably test for the presence of the MAKE_DIR extension, but I seem to recall that QemuLator can't create directories in QXL.WINs for example.
A while back I lifted the code for the LEVEL2 extension out of Norman Dunbar's DJToolkit and made a stand-alone extension function out of it, called LEVEL2% to avoid a clash of names with Norman's extension.
I'll upload it to my site in a minute in case others can make use of it, meanwhile here's a copy to test if it does what you want. Hope you don't mind, Norman?
A while back I lifted the code for the LEVEL2 extension out of Norman Dunbar's DJToolkit and made a stand-alone extension function out of it, called LEVEL2% to avoid a clash of names with Norman's extension.
I'll upload it to my site in a minute in case others can make use of it, meanwhile here's a copy to test if it does what you want. Hope you don't mind, Norman?
--
All things QL - https://dilwyn.qlforum.co.uk/index.html
All things QL - https://dilwyn.qlforum.co.uk/index.html
- NormanDunbar
- Forum Moderator
- Posts: 2277
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: Level 2 check
Evening Dilwyn,
everything I do these days is open source. Help yourself, I'm pleased that my code is of use.
Cheers,
Norm.
everything I do these days is open source. Help yourself, I'm pleased that my code is of use.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.