Тёмный

AMOS - Reading Files and Manipulating Strings 

Yawning Angel Retro
Подписаться 1,2 тыс.
Просмотров 481
50% 1

In this AMOS video I look at reading CSV (Comma Separated Values) data into a program and separating out the CSV values, both manually and via an automated method, making use of the following AMOS commands:
Left$
Mid$
Instr
I finish the video off by showing how this AMOS program will take a CSV file created on an external computer, (in this case on my Mac) and separate those values too, with minimal code changes.
The source file for the program in this video can be downloaded for free
from my website: www.ya-retro.co.uk/downloads
Don't forget I write monthly AMOS tutorials for Amiga Addict magazine too.
See my small retro website here: www.ya-retro.co.uk
... and you can follow me on X/Twitter at: @yawning_angel
... and on Mastodon at: @yawning_angel@mastodonapp.uk
... and on BlueSky here: @yawning-angel.bsky.social
... and if you want to buy me a coffee in order to support my AMOS efforts, and these videos, find me on Ko-Fi at: ko-fi.com/yawningangel
Thanks for watching, and I hope this video is of some use to you.
YA. 😎

Опубликовано:

 

11 янв 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@uruwashii5231
@uruwashii5231 6 месяцев назад
Great to see AMOS in 2024 ❤. I developed a commercial game within AMOS in the 90’s. These videos have inspired me to get my Amiga dusted down and AMOS fired up to update the game on its 30th anniversary :-)
@YawningAngelRetro
@YawningAngelRetro 6 месяцев назад
Oh wow that's amazing. Daft question... what game was it?
@uruwashii5231
@uruwashii5231 6 месяцев назад
@@YawningAngelRetro it was game called SwitchQuiz. Back at the time I was asked to develop a game that would interface with hardware to play an interactive quiz game for up to 4 players. It was very unique. Game made it into all the magazines but never into the shops and was mail order, which sadly was its downfall (needed hardware and software manufacturing at scale) back in the days of back room stuff it was v hard.
@frankowalker4662
@frankowalker4662 6 месяцев назад
You explaind that really well. I've done this so often in the past it turned up in my dreams. But if anyone asked me how to do it, I would be lost for words. LOL.
@YawningAngelRetro
@YawningAngelRetro 6 месяцев назад
Many thanks Frank. I think that's why this video was longer than I planned it to be as it needed more explaining. 🤣
@AK-vx4dy
@AK-vx4dy 6 месяцев назад
Oh man☺ My memories 😊 I spend some nights with Amos. I even wrote kind of dafabase and saved records on floppy and then even wrote bubble sort (i bad 17 years and know only this algorithm) working directly on disk (becuase it was fun to watch and hear)... one sad accent is my friend on whom CDTV i done this tragically deceased few years after this nights...
@YawningAngelRetro
@YawningAngelRetro 6 месяцев назад
Sorry to hear about your friend. 😞
@frankowalker4662
@frankowalker4662 6 месяцев назад
I find it easier to put a comma at the begining of the whole string too, that way you don't need the qualifyer for the start of the string. (If COUNT=0)
@YawningAngelRetro
@YawningAngelRetro 6 месяцев назад
I did think about doing that, but when dealing with CSV files from spreadsheets this won't always be possible, hence I went the way I did. 😎
@frankowalker4662
@frankowalker4662 6 месяцев назад
@@YawningAngelRetro Yeah, I did'nt think of that at the time. Ha ha.
@dennisraadschelders6821
@dennisraadschelders6821 22 дня назад
What I don’t understand is why Amos would need the full record count. It would me much easier if Amos just prints all the words on that record.
@YawningAngelRetro
@YawningAngelRetro 21 день назад
Good point. I need to go away and double check that...
Далее
AMOS Screens - Using them in your programs
32:51
AMOS Shooting things
39:36
Просмотров 255
AMOS - Screen Scrolling on the Amiga
25:59
Просмотров 701
AMOS - Parallax Scrolling on the Amiga
26:01
Channel update July 24
39:53
Просмотров 57
Spectrum Basic to AMOS
44:57
Просмотров 2,3 тыс.
Using AMOS to Play Music
28:39
Просмотров 410
AMOS - Using Sound Samples
36:08
Просмотров 348