ForgottenV

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

ForgottenV is EsoLang made in 2021 by User:Supyovalk.

Summary

ForgottenV works like c,but with a twist:upon variable declaration,every N instructions afterword (N is a number randomly selected from 1 to 50 per each variable) the variable is reconstructed (Basically activing the class's default constructor on it). However , for each class exists a root variable (can be accessed by "Class-name".RT) that isnt effected.

Example

This program is likely to get stuck in a infinte loop:

int main(){
   int i = 10;
   while(i<30):
      printf(i,"%d");
      i++
   } 
return 0;
}

But this wont:

int main(){
   int.RT = 10;
   while(int.RT<30):
      printf(int.RT,"%d");
      int.RT++
   }
return int.RT - int.RT;
}