Code: Select all
function update_file(s as string,d as string)as integer
on error goto hell
dim as integer ff = freefile, ff1
dim as string ln
if open (s for input as #ff) then return 0
ff1 = freefile
if open (d for output as #ff1) then
close #ff : return 0
end if
while not eof(ff)
line input #ff,ln
if ln[0] = asc("[") then
''
else
put #ff1,,ln + !"\n"
end if
wend
close #ff1
close #ff
return 1
hell:
?err
sleep : end
end function
?update_file("build.txt","build.gradle")
sleep
Code: Select all
apply plugin: 'com.android.application'
android {
[0]
buildToolsVersion "28.0.3"
defaultConfig {
[1]
[2]
[3]
[4]
[5]
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
}