Path: utzoo!attcan!telly!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!mcnc!beguine!samba.acs.unc.edu!mikef From: mikef@samba.acs.unc.edu (Michael Freedburg) Newsgroups: comp.sys.mac.hypercard Subject: put command and spaces Keywords: put, read from, spaces?? Message-ID: <1737@beguine.UUCP> Date: 26 Nov 90 21:08:09 GMT Sender: usenet@beguine.UUCP Lines: 22 Dear HyperHeads, I am currently reworking my Mailing Labels stack to fit HyperCard 2.0, and I find that the put command does something I did not expect, so I post here hoping that an answer will soon be forthcoming. I let the user import a tab-delimited file, and I would read from file theTextFile until tab, and put it into field "Names". Then I would read from the file again till Tab and put space& it afterr field "Names". This would put an extra space between the two items. Does it do this because the last char it read is a Tab and it converts that to a space when one puts the data after a file. I did the import like this to make sure that it was placing things correctly. Now I read everything into a variable, making sure everything is correctly positioned, and then put the variable into the field. I do need to know, however, about the put and the spaces. Jeanne, help me please!! I am still waiting for my HyperTalk 2.0 book to come in, so bear with me. I am interested in reading the entire file into a variable and then doing the put from there using the offset function, but I'm not sure if this will work. If someone has code to do this, and would not mind sending me a sample, I would greatly appreciate it. Send to: mikef@samba.acs.unc.edu No sig file to make you hit the space **just one more time**