We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Small Basic Only Extension
#14
litdev,

Did you look at the last program snippet with the soccer ball? If imagelist.loadimage() in all instances then we don't need the ldbasic.loadimage(). Also, I didn't have to use LDBasic.SetSSL to get the 2 code snippets running.

Here is just small basic program downloading a file using only regular small basic commands.

FileName=Network.DownloadFile("https://cdn.wallpapersafari.com/3/7/SFe72B.jpg")
'size=LDBasic.DownloadFile("c:\temp\soccer.jpg","https://cdn.wallpapersafari.com/3/7/SFe72B.jpg")
'TextWindow.WriteLine(size)
'image=ImageList.loadimage("c:\temp\soccer.jpg")
image=ImageList.LoadImage(FileName)
GraphicsWindow.DrawresizedImage(image,0,0,500,400)

So, the issue is due to the compiler not being able to run the commands unless they are in the ide. Darn! It's a good try. So, now we need to figure out what commands in LDBasic that are really needed. I know FixFlicker is one, but I am not real sure about needing the others. I was really surprised that the network.downloadfile worked. Your right in that so far it's Flickr and Network that doesn't work as expected, but I am not sure on what all parts of network that don't work.

So, I think what we could do is have the extension with only commands that are needed. Then if they want to use Flickr they have to put the command in front of their program and the same for what doesn't work in the network and whatever else we find.

JR
Reply


Messages In This Thread
Small Basic Only Extension - by jrmrhrb00 - 11-02-2023, 06:09 PM
RE: Small Basic Only Extension - by litdev - 11-03-2023, 07:39 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-04-2023, 02:00 PM
RE: Small Basic Only Extension - by litdev - 11-05-2023, 02:49 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-05-2023, 03:42 PM
RE: Small Basic Only Extension - by litdev - 11-05-2023, 08:58 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-06-2023, 01:13 AM
RE: Small Basic Only Extension - by litdev - 11-06-2023, 09:13 AM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-06-2023, 02:04 PM
RE: Small Basic Only Extension - by litdev - 11-06-2023, 03:15 PM
RE: Small Basic Only Extension - by Scout - 11-06-2023, 03:17 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-06-2023, 03:39 PM
RE: Small Basic Only Extension - by litdev - 11-06-2023, 06:32 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-06-2023, 08:21 PM
RE: Small Basic Only Extension - by litdev - 11-06-2023, 09:11 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-06-2023, 09:42 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-07-2023, 02:32 PM
RE: Small Basic Only Extension - by litdev - 11-07-2023, 05:49 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-07-2023, 06:35 PM
RE: Small Basic Only Extension - by litdev - 11-07-2023, 10:32 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-07-2023, 11:00 PM
RE: Small Basic Only Extension - by litdev - 11-08-2023, 12:07 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-08-2023, 03:00 PM
RE: Small Basic Only Extension - by litdev - 11-08-2023, 08:10 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-08-2023, 08:44 PM
RE: Small Basic Only Extension - by WhTurner - 11-09-2023, 01:13 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 11-10-2023, 04:37 PM
RE: Small Basic Only Extension - by litdev - 11-10-2023, 07:31 PM
RE: Small Basic Only Extension - by jrmrhrb00 - 12-19-2023, 02:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)