Im wondering how would i get a 1-3 digit number from a site. When the number could be anywhere in the site (html look)
I also noticed that a "String" cant handle that many "letters". is there anything like "long string" etc?
-Thank you.
Im wondering how would i get a 1-3 digit number from a site. When the number could be anywhere in the site (html look)
I also noticed that a "String" cant handle that many "letters". is there anything like "long string" etc?
-Thank you.
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
use between and getpage i guess
How could i use between when the whole site doesent "fit" into the string? How would i make it "GetPage" the next part?
Example if u didnt understand:
SCAR Code:String:= Getpage
// String now contains:
String:= 'blablablalbalbablablablabalbalblablablalbalbal';
//The numbers i need is further down the page.
Atleast acording to "Writeln"
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
Is WideString a type in SCAR?
Ill test..
It has it. Dunno if it works.
EDIT: Its longer than string.. But i need even LONGER!![]()
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
Could you please explain your problem more..? May I see the website or can you tell us how long it is?
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
its almost this long: http://en.wikipedia.org/wiki/SCAR_%2...ng_language%29
Bit longer.
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
This is Cheesehunks hello world program, edited. All credit to him.
SCAR Code:function Get: String;
var S: String;
begin
S := GetPage('http://en.wikipedia.org/wiki/SCAR_%28programming_language%29');
S := Between('where you can download ', 'as well as scripts.', S);
Delete(S, Pos('<b>', S), 3);
Result := S;
end;
begin
WriteLn(Get);
end.
I don't see the problem. It gets the text right at the bottom of the page.
Did I help at all ?
Wtf? WideString can store like 2Gb.
LOOOL i just noticed .. .i wasent even loggedin at the site xDD so not even wondering why it didnt work
TYY all anyway.
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
There are currently 1 users browsing this thread. (0 members and 1 guests)