Old Mac IIci + Think Pascal #12 | Strings | Copy + Length + Join (Short)
Автор: Lone Logic
Загружено: 2025-05-18
Просмотров: 226
🖥️ Learn how to work with strings in Think Pascal on a Macintosh IIci!
This video demonstrates basic string operations:
Get the length of a string using `length()`
Extract a portion of a string using `copy()`
Concatenate strings using `concat()`
Full code:
program StringDemo;
var
name, part, greeting: string;
begin
name := 'Alice Wonderland';
part := copy(name, 1, 5); { 'Alice' }
greeting := concat('Hello, ', part, '!');
writeln('Name: ', name);
writeln('Length: ', length(name));
writeln('Greeting: ', greeting);
end.
🍎 Subscribe for more retro Pascal coding!
@LoneLogic
#ThinkPascal #StringHandling #PascalStrings #RetroMac #MacintoshIIci #ClassicComputing #PascalProgramming #LoneLogic

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: