These are chat archives for ethereum/tutorials

5th
Aug 2016
lesleycheng6369
@lesleycheng6369
Aug 05 2016 14:16
Hi~Do you know why this error occurs? It appears every function I written. "Error: Expected import directive or contract definition."/
Luca Zeug
@luclu
Aug 05 2016 15:42
@lesleycheng6369 could you please past the contract in question?
lesleycheng6369
@lesleycheng6369
Aug 05 2016 17:50
@luclu Thanks for reply! but the code is a bit long if I paste here. Or do you mean I ask this question here ? http://ethereum.stackexchange.com/questions/ask
Luca Zeug
@luclu
Aug 05 2016 18:19
PM me ;)
lesleycheng6369
@lesleycheng6369
Aug 05 2016 18:52
@luclu Hi! Sorry I'm a quite new user that I don't know how to do T^T. Can I just share you by google drive? here is the link of code:https://drive.google.com/file/d/0B12VI6oDo21Nd25YTm5ZQUMxc00/view?usp=sharing
@luclu By the way.... the error appears from the first line of function called "removePatient". Cheers!
Aashish1590
@Aashish1590
Aug 05 2016 19:55
Hi
Luca Zeug
@luclu
Aug 05 2016 20:14
@lesleycheng6369 have a look at line 102. Your functions need to be nested into a contract.