12-08-2005, 00:47
|
|
|
חבר מתאריך: 29.04.05
הודעות: 45
|
|
תגובה
ניסיתי את מה שהצעת בהודעה הראשונה:
וקיבלתי את השגיאה הבאה:
Microsoft VBScript compilation error '800a03fb'
Expected 'Loop'
/forums/b.asp, line 22
else
^ זה מה שכתבתי
קוד:
function brrrr(text, length)
if len(text) > length then
if mid(text, length+1, length+1)=" " then
j=length+1
else
j=length
WHILE mid(text, j, j)<>" " and j>0 do
j=j-1
else
j=length+1
text=mid(text, 1, j-1) & "-" & mid(text, j, length)
WEND
end if
brrrr = mid(text, 1, j-1) & "<br />" & brrrr(mid(TRIM(text), j+1, len(text)), length)
else
brrrr = text
end if
end function
אח"כ ניסיתי לכתוב את מה שהצעת לי בהודעה האחרונה ,
וקיבלתי את השגיאה:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'brrrr'
/forums/b.asp, line 15
מה עושים?
המון תודה על העזרה
HELLOMANAGER
נערך לאחרונה ע"י hellomanager בתאריך 12-08-2005 בשעה 00:50.
|