12-28-2022, 09:55 PM
Is there an interest for the wiki in a program for filling a two-dimensional array? As an an example.
Two-dimensional array
|
12-28-2022, 09:55 PM
Is there an interest for the wiki in a program for filling a two-dimensional array? As an an example.
12-28-2022, 11:54 PM
12-29-2022, 12:40 AM
(This post was last modified: 12-29-2022, 12:46 AM by Kernelpanic.)
Ok, here is the whole program, the whole attempt:
Code: (Select All) $Console:Only Example:
12-29-2022, 10:10 PM
The extension: Determining a two-dimensional field and resize it.
Code: (Select All) $Console:Only
12-30-2022, 01:04 PM
For the wiki I think it should be shorter, more to the point.
And of course in english
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
01-05-2023, 02:26 AM
01-05-2023, 03:00 AM
(01-05-2023, 02:26 AM)bobalooie Wrote:(12-30-2022, 01:04 PM)mdijkens Wrote: For the wiki I think it should be shorter, more to the point. Speaking of, have we got HTTP functions built into QB64PE yet? Because it would be cool to make a QB64PE program that can make REST calls to Google translate and autotranslate a text file (or QB code) word for word...
01-05-2023, 03:36 AM
(This post was last modified: 01-05-2023, 03:42 AM by mnrvovrfc.
Edit Reason: Provided something on topic
)
(12-30-2022, 01:04 PM)mdijkens Wrote: For the wiki I think it should be shorter, more to the point. This is something coming out of an European whose first language isn't English... I shake your hand and that of anybody else with those qualifications. Otherwise, QB64PE and many other apps would start looking like Libreoffice LOL. It seems everyday somebody volunteers to translate something in a certain language. I would too but don't want to be a package maintainer and I'm not going to have Internet for much longer... ON TOPIC: coming to my mind readily as an example for double-dimensional arrays would be a text screen. Provide a way to print to the array before it is dumped to the screen, not having to turn to the fancy functions we have now to do that sort of thing. Code: (Select All) DIM myscreen(1 TO 25, 1 TO 80) AS STRING * 1 It opens some possibilities for how to interpret the information in the array to show the screen. Such as the twice-as-large wacky mode of TRS-80 Model III which required pressing [CLEAR] or entering "CLS" to cancel back to 64-character line. The 32x16 was standard on the Color Computer though. Instead of one-byte string, could use "_BYTE" type for a way to interpret the high-bit characters, especially to print into a graphics screen and draw them instead of an unreliable Unicode font.
01-05-2023, 03:53 AM
(01-05-2023, 03:00 AM)madscijr Wrote: Speaking of, have we got HTTP functions built into QB64PE yet? For somebody who knows English, this method might be unacceptably slow, depending very much on Internet speeds. Not everybody has "1000 MEGAS" and not even 100. Also there are people trying to leech off Wifi from restaurants, schools and community houses... There are people who don't live in the capital of an African or Asian country with Internet access which could be slower than the "basic" plan for a given ISP in the States. Think about the people of a certain eastern European country. But what do I really know? The upcoming "HTTP(S)" functionality could be a mixed blessing. It's something I'm not going to be waiting for as much as the sound counterpart to "_NEWIMAGE" and related stuff. Translating code is even less desireable; allow an user to use variable and function names in the language he/she knows best. But to be kind please comment in English, in my case because otherwise I know Spanish, would have to depend on that to know what is in Portuguese, would have to depend on my high-school Italian, could barely make out French and that's it. To say it another way, for example Kernelpanic almost doesn't comment what program he offers which has me trying to figure out what a variable does. But it could go two ways: I'm lazy and don't like long variable names, have to really sit down and comment my programs before sharing them. (01-05-2023, 03:53 AM)mnrvovrfc Wrote:(01-05-2023, 03:00 AM)madscijr Wrote: Speaking of, have we got HTTP functions built into QB64PE yet? I think the more important & useful part would be the ability to call REST services from QB64PE. That opens up a lot of doors. Translating is just an exercise. (I'll leave the arguments for & against SOA and considerations for people's Internet speeds in other parts of the world for someone else to argue.) I'll take more sound commands, too! |
« Next Oldest | Next Newest »
|