Hi, I have heard that scheme can manage .txt files for some purposes, and also heard that its better to use strings if what to use files.
In this moment I am programming this virtual inventory system to learn how to program in scheme.
So well I made this "data base" with the information of the products there are available, but I made it as a normal list (see text) but I doubt if this is gonna work when it has to interact with some .txt files or with the Graphic Interface.
; list with all the products available at a given moment.
(define listaprod '( (1100 C Pc_Alba 10 1000) (1200 C MacPB 10 2000) (1300 C Laptop_A 20 1000) (1301 C Laptop_D 10 2000) (2000 A Mouse_logi_blanc 5 20) (2001 A Mouse_logi_negr 5 20) (2100 A Teclado_espa 10 20) (2101 A Teclado_engl 10 20) (2200 A Parlantes 20 50) (2300 A Cable_Usb 2 5) (2400 A webcam 22 10) (3000 I ipod_t_80gb 100 350) (3100 I ipod_c_60Gb 50 200) (3200 I ipod_n_8Gb 60 100) (3300 I iphone 200 500)))
If anybody could point me out if this data base has to be made out of strings, or how to make it work when it has to interact with .txt files or User interface it would be great.