Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!11SSTEIN%GALLUA.BITNET@CUNYVM.CUNY.EDU From: 11SSTEIN%GALLUA.BITNET@CUNYVM.CUNY.EDU Newsgroups: comp.lang.pascal Subject: Program Message-ID: <11401@brl-adm.ARPA> Date: 21 Jan 88 23:18:18 GMT Sender: news@brl-adm.ARPA Lines: 28 Hello all PASCAL lovers.... I am wondering if there is a way to do this: BASIC PROGRAM 10 A$="ABCDEFGH" 11 FOR I=1 TO LEN(A$) 12 PRINT MID$(A$,I,1); 13 NEXT I RUN A AB ABC ABCD ABCDE ABCDEF ABCDEFG ABCDEFGH How can you do this in PASCAL? How do I tell the program that I want the 5th character of a string? - Scott